﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using Htss.Platform.Data;
namespace DreamBox.DAL
{
    public class MAction
    {
        /// <summary>
        /// 删除数据
        /// </summary>
        /// <param name="m"></param>
        /// <returns></returns>
        public bool Delete(BasicModel m)
        {
            MAction<BasicModel> action = new MAction<BasicModel>();
            return action.Delete(m);
        }
        /// <summary>
        /// 更新数据
        /// </summary>
        /// <param name="m"></param>
        /// <returns></returns>
        public bool Update(BasicModel m)
        {
            MAction<BasicModel> action = new MAction<BasicModel>();
            return action.Update(m);
        }
        /// <summary>
        /// 插入数据
        /// </summary>
        /// <param name="m"></param>
        /// <returns></returns>
        public bool Insert(BasicModel m)
        {
            MAction<BasicModel> action = new MAction<BasicModel>();
            return action.Insert(m);
        }
    }
}
